<!DOCTYPE html>
<html>

<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>H+ 后台主题UI框架 - 数据表格</title>
  <link href="/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  <link href="/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">
  <!-- Data Tables -->
  <link href="/admin/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
  <link href="/admin/css/animate.css" rel="stylesheet">
  <link href="/admin/css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">
  <div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
      <div class="col-sm-12">
        <div class="ibox float-e-margins">
          <div class="ibox-title">
            <h5>基本 <small>分类，查找</small></h5>
            <div class="ibox-tools">
              <a class="collapse-link">
                <i class="fa fa-chevron-up"></i>
              </a>
              <a class="dropdown-toggle" data-toggle="dropdown" href="table_data_tables.html#">
                <i class="fa fa-wrench"></i>
              </a>
              <ul class="dropdown-menu dropdown-user">
                <li><a href="table_data_tables.html#">选项1</a>
                </li>
                <li><a href="table_data_tables.html#">选项2</a>
                </li>
              </ul>
              <a class="close-link">
                <i class="fa fa-times"></i>
              </a>
            </div>
          </div>
          <div class="ibox-content">

            <table class="table table-striped table-bordered table-hover dataTables-example">
              <thead>
                <tr>
                  <th>序号</th>
                  <th>名称</th>
                  <th>演员</th>
                  <th>图片</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
                {{each data}}
                <tr class="gradeX">
                  <td>{{ $index+1 }}</td>
                  <td>{{ $value.title }}</td>
                  <td>{{ $value.actor }}</td>
                  <td class="center">
                    <img src="{{ $value.pic }}" style="width:50px;">
                  </td>
                  <td class="center">
                    <a class="label label-success" href="">修改</a>
                    <a class="label label-danger" href="">删除</a>
                  </td>
                </tr>
                {{/each}}
              </tbody>
            </table>

          </div>
        </div>
      </div>
    </div>
  </div>

  <!-- 全局js -->
  <script src="/admin/js/jquery.min.js?v=2.1.4"></script>
  <script src="/admin/js/bootstrap.min.js?v=3.3.6"></script>



  <script src="/admin/js/plugins/jeditable/jquery.jeditable.js"></script>

  <!-- Data Tables -->
  <script src="/admin/js/plugins/dataTables/jquery.dataTables.js"></script>
  <script src="/admin/js/plugins/dataTables/dataTables.bootstrap.js"></script>

  <script>
    // jquery插件 分页插件 datatables
    $('.dataTables-example').dataTable();
  </script>

</body>

</html>